<?php if(!defined("PATH_HD"))exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Design by http://www.FreeWebsiteTemplateZ.com
Released for free under a Creative Commons Attribution 3.0 License
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>支持|兴旺化验室</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<?php echo 'http://localhost/company01/hdcms/index/tpl/public/css/style.css';?>" rel="stylesheet" type="text/css" />
<!-- CuFon: Enables smooth pretty custom font rendering. 100% SEO friendly. To disable, remove this section -->
<script type="text/javascript" src="<?php echo 'http://localhost/company01/hdcms/index/tpl/public/js/cufon-yui.js';?>"></script>
<script type="text/javascript" src="<?php echo 'http://localhost/company01/hdcms/index/tpl/public/js/arial.js';?>"></script>
<script type="text/javascript" src="<?php echo 'http://localhost/company01/hdcms/index/tpl/public/js/cuf_run.js';?>"></script>
<script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/company01';
		HDPHP = 'http://localhost/company01/HD';
		STATIC = 'http://localhost/company01/static';
		DATA = 'http://localhost/company01/data';
		WEB = 'http://localhost/company01/index.php';
		APP = 'http://localhost/company01/index.php/index';
		CONTROL = 'http://localhost/company01/index.php/index/index';
		METH = 'http://localhost/company01/index.php/index/index/support';
		URL = 'http://localhost/company01/index.php/index/index/support';
		ORG = 'http://localhost/company01/HD/org';
		TPL = 'http://localhost/company01/hdcms/index/tpl';
		PUBLIC = 'http://localhost/company01/hdcms/index/tpl/public';
</script>
<!-- CuFon ends -->
</head>
<body>
<div class="main">

		<div class="header">
			<?php include  PATH_TPL.'/public/header.html';?>
		</div>
		<div class="clr"></div>
		<div class="menu_nav">
			<ul>
				<li><a href="http://localhost/company01/index.php/index/index/index">首页</a></li>
				<li><a href="http://localhost/company01/index.php/index/index/blog">动态</a></li>
				<li   class="active"><a href="http://localhost/company01/index.php/index/index/support">支持</a></li>
				<li><a href="http://localhost/company01/index.php/index/index/contact">联系我们</a></li>
				<li><a href="http://localhost/company01/index.php/index/index/about">关于</a></li>
			</ul>
		</div>
		<div class="clr"></div>
    
		<div class="content">
			<div class="content_resize">
			  <img src="<?php echo 'http://localhost/company01/hdcms/index/tpl/public/images/supportbg.jpg';?>" width="948" height="295" alt="image" class="hbg_img" />
			</div>
			  
			  <style>
				#sidemap{
					width:970px;
					height:20px;
					margin:0 auto;
					float:left;
				}
			  </style>
			<div id="sidemap">
				  您现在的位置：<a href="#">首页</a> > <a href="#">产品列表</a>
			</div>
			  
			  <style>	
					
					#yslist img{width:160px;height:240px;}
				
					#yslist li{
						margin-left:5px;
						margin-right:5px;
						list-style:none;
						width:160px;
						height:260px;
						float:left;
					}
					#pagelist{
						width:600px;
						float:left;
						margin-top:30px;
						padding-left:300px;
					}
				</style>
			<div id="yslist">   
				<ul>
					<?php $db = M("news");$count = $db->where("catid=3")->count();$page = new page($count,4);$sql_limit = $page->limit();$row = $db->where("catid=3")->order("addtime desc")->limit($sql_limit)->all();foreach($row as $v):
				$v["id"] = mb_substr($v["id"],0,100,"utf-8");
				$id=$v["id"];
				$thumb=$v["thumb"];
				$v["thumburl"]="<img src='http://localhost/company01/$thumb '/>";
				$v["title"] = mb_substr($v["title"],0,100,"utf-8");
				$v["titleurl"]="<a href='http://localhost/company01/index.php?c=news&m=index&id=$id '>".$v["title"]."</a>";
				$v["addtime"] = mb_substr(date("Y-m-d",$v["addtime"]),0,100,"utf-8");
				?>
			
						<li><?php echo $v['thumburl'];?><p><?php echo $v['titleurl'];?></p></li>
					<?php endforeach;?>
				</ul>
			</div>
			<div id="pagelist">
				<?php echo $page->show(2);?> 
			</div>
			  
		 </div>

		<div class="footer" style="height:80px;width:100%;margin-top:360px;">
			<div class="footer_resize">
			   <p class="lf">2006-2012&nbsp;&nbsp;&copy; Copyright<span>江苏兴化戴南兴旺化验室</span></p>
			  <div class="clr"></div>
			</div>
		</div>
</div> 
</body>
</html>
